<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>07.表单标签</title>
</head>
<body>
<from action="http://www.baidu.com">
  用户名:<input type="text" name="username" maxlength="5" placeholder="请输入用户名">
  <br>
  密码:<input type="password" name="password" placeholder="请输入密码">
  <br>
  <!--单选框-->
  性别:<input type="radio" name="gender" value="w">女
      <input type="radio" name="gender" value="m">男
  <br>

  <!--多选框-->
  兴趣爱好:<input type="checkbox" name="hobby" value="cy">抽烟
  <input type="checkbox" name="hobby" value="hj">喝酒
  <input type="checkbox" name="hobby" value="tt">烫头
  <br>
  <!--日期-->
  生日:<input type="date" name="birthday">
  <br>
  <!--文件-->
  靓照:<input type="file" name="pic">
  <br>
  <!--选择框-->
  <select name="city" >
    <option value="bj">北京</option>
    <option value="nj">南京</option>
    <option value="cd" selected>成都</option>
    <option value="sjz">石家庄</option>
  </select>
  <br>
  <!--按钮-->
  <input type="submit" value="注册">
  <input type="reset">
  <input type="button" value="自定义按钮">
  <br>
<!--button按钮-->
  <button type="submit">注册</button>
  <button type="reset">重置</button>
  <button type="button">自定义按钮</button>
</from>







</body>
</html>